package com.thinkgem.jeesite.modules.ship.entity;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 船舶违法信息Entity
 * @author lgx
 * @version 2016-04-16
 */
public class ShipIllegal extends DataEntity<ShipIllegal> {
	
	private static final long serialVersionUID = 1L;
	private String userName;		// 姓名
	private String userIdcard;		// 身份证号码
	private Date crimeDate;		// 案发时间
	private String mainCase;		// 主要案情
	private String processResult;		// 处理结果
	private Date beginCrimeDate;		// 开始 案发时间
	private Date endCrimeDate;		// 结束 案发时间
	
	public ShipIllegal() {
		super();
	}

	public ShipIllegal(String id){
		super(id);
	}

	   
	   
    /** 
     *姓名  
     *
     */
	@Length(min=0, max=50, message="姓名长度必须介于 0 和 50 之间")
	public String getUserName() {
		return userName;
	}

    /** 
     *姓名  
     *
     */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	   
	public String getUserIdcard() {
		return userIdcard;
	}

    /** 
     *身份证号码  
     *
     */
	public void setUserIdcard(String userIdcard) {
		this.userIdcard = userIdcard;
	}
	
	   
    /** 
     *案发时间  
     *
     */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCrimeDate() {
		return crimeDate;
	}

    /** 
     *案发时间  
     *
     */
	public void setCrimeDate(Date crimeDate) {
		this.crimeDate = crimeDate;
	}
	
	   
    /** 
     *主要案情  
     *
     */
	@Length(min=0, max=1000, message="主要案情长度必须介于 0 和 1000 之间")
	public String getMainCase() {
		return mainCase;
	}

    /** 
     *主要案情  
     *
     */
	public void setMainCase(String mainCase) {
		this.mainCase = mainCase;
	}
	
	   
    /** 
     *处理结果  
     *
     */
	@Length(min=0, max=500, message="处理结果长度必须介于 0 和 500 之间")
	public String getProcessResult() {
		return processResult;
	}

    /** 
     *处理结果  
     *
     */
	public void setProcessResult(String processResult) {
		this.processResult = processResult;
	}
	
	public Date getBeginCrimeDate() {
		return beginCrimeDate;
	}

    
	public void setBeginCrimeDate(Date beginCrimeDate) {
		this.beginCrimeDate = beginCrimeDate;
	}
	
	
	public Date getEndCrimeDate() {
		return endCrimeDate;
	}

  
	public void setEndCrimeDate(Date endCrimeDate) {
		this.endCrimeDate = endCrimeDate;
	}
		
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}